home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / DIRDEL.DOC < prev    next >
Encoding:
Text File  |  1991-04-30  |  3.8 KB  |  92 lines

  1.             April 22, 1989
  2.  
  3.  
  4. DIRDEL - Directory Delete, Version 1.22
  5.  
  6. WARNING - It is assumed that you, the user, know exactly what
  7. you are doing in using this program.  You can inadvertently
  8. delete an entire sub-directory tree with a single command.
  9.  
  10. New to the version 1.2x series is the ability to delete Read
  11. Only, Hidden and System files and directories.  Also new is the
  12. ability to delete the current directory (i.e. you don't have to
  13. move out of a directory in order to delete it).  These are
  14. capabilities that DOS and most file utilities leave out -
  15. probably for the protection of the unsophisticated user.
  16.  
  17. Before using this program on a routine basis, it is recommended
  18. that you experiment with it on some test directories until you
  19. are satisfied that the program works as you would expect it to
  20. based on your understanding of the instructions below.
  21.  
  22. If you have seen or used previous versions of this program, you
  23. might notice its smaller size.  Although more powerful, it is
  24. less than one-half the size of version 1.10, for example.
  25.  
  26. Versions prior to 1.20 were written in the C language.  The
  27. current 1.2x series is written entirely in Modula-2.
  28.  
  29. -----------------------------------------------------------------
  30.  
  31. Version 1.22 corrects a minor bug in version 1.21 that would
  32. change the default drive to that of the target directory after
  33. successfully deleting a directory not on the current disk.
  34. Although minor, this is still a bug, as programs should perform
  35. exactly as the programmer intends and not as a result of
  36. carelessness.
  37.  
  38. -----------------------------------------------------------------
  39.  
  40. To delete a directory and all included files and directories,
  41. specify the directory to delete from the command line.
  42.  
  43.                Usage:  dirdel dirname
  44.  
  45. There are no command-line switches.  If what you type as the
  46. directory name is a valid one, it and its contents are simply
  47. deleted after you answer in the affirmative to the initial
  48. precautionary prompt.
  49.  
  50. In specifying the directory to delete, you may optionally
  51. include a drive letter followed by a colon.  You may also
  52. include the complete path, preceded by a backslash, starting
  53. from the root directory of the target drive.  Otherwise, the
  54. current default directory of the target drive will be used.
  55.  
  56.     Examples:  dirdel junk
  57.                    dirdel \bin          
  58.                    dirdel d:\test\test2
  59.  
  60. I wrote the original version of this little utility during a
  61. period when I had an extensive C library of source and object
  62. code to maintain.  I organized these files using a complex
  63. directory tree structure.
  64.  
  65. During this period, I was frequently backing up and restoring
  66. this library between two different hard-disk systems.  For
  67. conservatism, during the restore process, I had a batch file
  68. rename the previous existing start directory to a temporary
  69. name, later to be deleted.  It was having to do this deletion
  70. process almost on a daily basis which started me looking for an
  71. easier way.
  72.  
  73. At the time, I wasn't aware of any program, commercial or
  74. otherwise, which would allow me to delete an entire directory
  75. tree using a single command.  Therefore, I proceeded to write my
  76. own.  DIRDEL is the result.
  77.  
  78. Although, I am now aware of other programs that can do the same
  79. job, I continue to use DIRDEL because, as a stand-alone utility,
  80. it is simple to use and compact.  Having it on my PATH, it is as
  81. convenient and accessible as any intrinsic DOS command.
  82.  
  83. I invited any user with a genuine interest in the program to
  84. contact me with comments, suggestions and questions about the
  85. program.  I will attempt to reply whenever possible.  You may
  86. reach me electronically at the addresses below:
  87.  
  88.                    Raymond T. Kaya
  89.  
  90.                    CompuServe:  71230,2500
  91.                    GEnie:       R.KAYA1
  92.